 /**
   * Copyright 2014 Viettel Telecom. All rights reserved.
   * VIETTEL PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
   */
 package com.viettel.core.bussiness.service; 
import java.util.List; 

import org.springframework.beans.factory.annotation.Autowired; 

import com.viettel.core.exceptions.BusinessException; 
import com.viettel.core.exceptions.DataAccessException; 
import com.viettel.core.dao.service.MTCSKHDAO; 
import com.viettel.core.entities.service.MTCSKH; 
 /**
   *  Mo ta muc dich cua lop (interface)
   *  @author: TOANTM1
   *  @version:  
   *  @since: 18/07/2014 - 10:17:35
   */
 public class MTCSKHMgrImpl implements MTCSKHMgr{ 
	@Autowired 
	MTCSKHDAO mtcskhDAO;

	/** (non-Javadoc)
	 * @see com.viettel.core.bussiness.service.MTCSKHMgr#getMTCSKHBySessionId(java.lang.String)
	 */
	@Override
	public List<MTCSKH> getMTCSKHBySessionId(String sessionId)
			throws BusinessException {
		try { 
			return mtcskhDAO.getMTCSKHBySessionId(sessionId);
		} catch (DataAccessException e) { 
			throw new BusinessException(e); 
		} 
	} 
 
 	
} 
